package com.gxa.jd.service;

import com.gxa.jd.pojo.GoodsOrderItem;
import com.gxa.entity.PageResult;

import java.util.*;

/**
 * orderItem业务逻辑层
 */
public interface OrderItemService {


    public List<GoodsOrderItem> findAll();


    public PageResult<GoodsOrderItem> findPage(int page, int size);


    public List<GoodsOrderItem> findList(Map<String, Object> searchMap);


    public PageResult<GoodsOrderItem> findPage(Map<String, Object> searchMap, int page, int size);


    public GoodsOrderItem findById(Long id);

    public void add(GoodsOrderItem orderItem);


    public void update(GoodsOrderItem orderItem);


    public void delete(Long id);

}
